package per.hongze.javatest.pojo;

import java.util.Date;

/**
* @description: User实体
* @author YiDan
* @date 2022/7/3 23:39
* @version 1.0
*/

public class User {

    private long id;
    private int roleid;
    private String account;
    private String password;
    private Date addtime;
    private Date edittime;
    private int status;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getRoleid() {
        return roleid;
    }

    public void setRoleid(int roleid) {
        this.roleid = roleid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Date getEdittime() {
        return edittime;
    }

    public void setEdittime(Date edittime) {
        this.edittime = edittime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", roleid=" + roleid +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", addtime=" + addtime +
                ", edittime=" + edittime +
                ", status=" + status +
                '}';
    }
}
